/**
 * 
 */
package org.rollinitiative.d20web.gmportal.client;

import com.google.gwt.user.client.rpc.AsyncCallback;

/**
 * @author bebopjmm
 *
 */
public interface EncounterServiceAsync
{
    public void getParty (String campaign, AsyncCallback<String[]> callback);
    
    public void createNewEncounter (String encounterName, AsyncCallback<String> callback);
    
    public void addCombatant (String encounterID, String actorName, int faction, AsyncCallback<CombatantData> callback);
    
    public void combatantAware (String encounterID, CombatantData combatant, AsyncCallback<CombatantData[]> callback);
    
    public void rollInitiative (String encounterID, CombatantData combatant, AsyncCallback<CombatantData> callback);
    
    public void startEncounter(String encounterID, AsyncCallback<Void> callback);
    
    public void getNextCombatant (String encounterID, AsyncCallback<CombatantData> callback);
}
